{template '_header'}
{template 'globonus/common'}
<div class="fui-page fui-page-current">
    <div class="fui-header">
        <div class="fui-header-left">
            <a class="back"></a>
        </div>
        <div class="title">{php echo $this->set['texts']['center']}</div>
    </div>

    <div class="fui-content" >

        <div class="fui-cell-group" style="margin-top:0;">
            <div class="fui-cell">
                <div class="fui-cell-icon headimg">
                    <img src="{$member['avatar']}" class="round">
                </div>
                <div class="fui-cell-text">
                    <p>{$member['nickname']}</p>
                </div>
                <div class="fui-cell-remark noremark">
                    <span class="text text-danger">【{$levelname}】</span>
                     {if !empty($set['levelurl'])}
                    <a href="{$set['levelurl']}"><span class="icon icon-help text-danger"></span></a>
                    {/if}
                </div>
            </div>
        </div>

        <div class="block-1">
            <p class="title">
                {if $set['paytype']==2}本周{else}本月{/if}{php echo $this->set['texts']['bonus_wait']}</p>
            <p class="price">{$bonus_wait}</p>
        </div>

        <div class="fui-block-group col-3" style='margin-top:0; overflow: hidden;'>
            <a class="fui-block-child external" href="{php echo mobileUrl('globonus/bonus')}">
                <div class="icon text-yellow"><i class="icon icon-money"></i></div>
                <div class="title" style="font-size:.7rem;">{php echo $this->set['texts']['bonus_total']}</div>
                <div class="text"  style="font-size:.7rem;padding-top:.2rem;"><span>{php echo number_format($bonus['total'],2)}</span> 元</div>
            </a>
            <a class="fui-block-child external" href="{php echo mobileUrl('globonus/bonus',array('status'=>2))}">
                <div class="icon text-blue"><i class="icon icon-process"></i></div>
                <div class="title" style="font-size:.7rem;">{php echo $this->set['texts']['bonus_lock']}</div>
                <div class="text" style="font-size:.7rem;padding-top:.2rem;"><span>{php echo number_format($bonus['lock'],2)}</span> 元</div>
            </a>
            <a class="fui-block-child external" href="{php echo mobileUrl('globonus/bonus',array('status'=>1))}">
                <div class="icon text-orange"><i class="icon icon-manageorder"></i></div>
                <div class="title" style="font-size:.7rem;">{php echo $this->set['texts']['bonus_pay']}</div>
                <div class="text" style="font-size:.7rem;padding-top:.2rem;"><span>{php echo number_format($bonus['ok'],2)}</span> 元</div>
            </a>
        </div>


        {if !empty($set['centerdesc'])}
        <div class='fui-according-group'>
            <div class='fui-according expanded'>
                <div class='fui-according-header'>
                    <div class='text'>{php echo $this->set['texts']['partner']}须知</div>
                    <div class='remark'></div>
                </div>
                <div class='fui-according-content'>
                    <div class='content-block'>

                       {$set['centerdesc']}
                    </div>
                </div>

            </div>
        </div>
   {/if}


    </div>
</div>
{php echo $this->footerMenus()}
{template '_footer'}